IMGLYBackground Remover
open class IMGLYBackgroundRemover(config: IMGLYBackgroundRemovalConfig) : BackgroundRemover<IMGLYBackgroundRemovalConfig>
ONNX Runtime based background remover that uses IMG.LY segmentation models.
Parameters
config
IMG.LY background removal configuration.
Functions
Link copied to clipboard
Forces model file download outside editor scope. This can be helpful if you want to have the model ready even before the editor is launched.
Link copied to clipboard
Starts loading the configured model when IMGLYBackgroundRemovalConfig.loadMode is eager.
Link copied to clipboard
Runs the configured ONNX model for bitmap and returns its foreground mask.